Integrand size = 20, antiderivative size = 1089 \[ \int \frac {(a+b \text {arctanh}(c+d x))^3}{(e+f x)^2} \, dx=-\frac {(a+b \text {arctanh}(c+d x))^3}{f (e+f x)}+\frac {3 a b^2 d \text {arctanh}(c+d x) \log \left (\frac {2}{1-c-d x}\right )}{f (d e+f-c f)}+\frac {3 b^3 d \text {arctanh}(c+d x)^2 \log \left (\frac {2}{1-c-d x}\right )}{2 f (d e+f-c f)}-\frac {3 a^2 b d \log (1-c-d x)}{2 f (d e+f-c f)}-\frac {3 a b^2 d \text {arctanh}(c+d x) \log \left (\frac {2}{1+c+d x}\right )}{f (d e-f-c f)}+\frac {6 a b^2 d \text {arctanh}(c+d x) \log \left (\frac {2}{1+c+d x}\right )}{(d e+f-c f) (d e-(1+c) f)}-\frac {3 b^3 d \text {arctanh}(c+d x)^2 \log \left (\frac {2}{1+c+d x}\right )}{2 f (d e-f-c f)}+\frac {3 b^3 d \text {arctanh}(c+d x)^2 \log \left (\frac {2}{1+c+d x}\right )}{(d e+f-c f) (d e-(1+c) f)}+\frac {3 a^2 b d \log (1+c+d x)}{2 f (d e-f-c f)}+\frac {3 a^2 b d \log (e+f x)}{f^2-(d e-c f)^2}-\frac {6 a b^2 d \text {arctanh}(c+d x) \log \left (\frac {2 d (e+f x)}{(d e+f-c f) (1+c+d x)}\right )}{(d e+f-c f) (d e-(1+c) f)}-\frac {3 b^3 d \text {arctanh}(c+d x)^2 \log \left (\frac {2 d (e+f x)}{(d e+f-c f) (1+c+d x)}\right )}{(d e+f-c f) (d e-(1+c) f)}+\frac {3 a b^2 d \operatorname {PolyLog}\left (2,-\frac {1+c+d x}{1-c-d x}\right )}{2 f (d e+f-c f)}+\frac {3 b^3 d \text {arctanh}(c+d x) \operatorname {PolyLog}\left (2,1-\frac {2}{1-c-d x}\right )}{2 f (d e+f-c f)}+\frac {3 a b^2 d \operatorname {PolyLog}\left (2,1-\frac {2}{1+c+d x}\right )}{2 f (d e-f-c f)}-\frac {3 a b^2 d \operatorname {PolyLog}\left (2,1-\frac {2}{1+c+d x}\right )}{(d e+f-c f) (d e-(1+c) f)}+\frac {3 b^3 d \text {arctanh}(c+d x) \operatorname {PolyLog}\left (2,1-\frac {2}{1+c+d x}\right )}{2 f (d e-f-c f)}-\frac {3 b^3 d \text {arctanh}(c+d x) \operatorname {PolyLog}\left (2,1-\frac {2}{1+c+d x}\right )}{(d e+f-c f) (d e-(1+c) f)}+\frac {3 a b^2 d \operatorname {PolyLog}\left (2,1-\frac {2 d (e+f x)}{(d e+f-c f) (1+c+d x)}\right )}{(d e+f-c f) (d e-(1+c) f)}+\frac {3 b^3 d \text {arctanh}(c+d x) \operatorname {PolyLog}\left (2,1-\frac {2 d (e+f x)}{(d e+f-c f) (1+c+d x)}\right )}{(d e+f-c f) (d e-(1+c) f)}-\frac {3 b^3 d \operatorname {PolyLog}\left (3,1-\frac {2}{1-c-d x}\right )}{4 f (d e+f-c f)}+\frac {3 b^3 d \operatorname {PolyLog}\left (3,1-\frac {2}{1+c+d x}\right )}{4 f (d e-f-c f)}-\frac {3 b^3 d \operatorname {PolyLog}\left (3,1-\frac {2}{1+c+d x}\right )}{2 (d e+f-c f) (d e-(1+c) f)}+\frac {3 b^3 d \operatorname {PolyLog}\left (3,1-\frac {2 d (e+f x)}{(d e+f-c f) (1+c+d x)}\right )}{2 (d e+f-c f) (d e-(1+c) f)} \]
-(a+b*arctanh(d*x+c))^3/f/(f*x+e)+3*a*b^2*d*arctanh(d*x+c)*ln(2/(-d*x-c+1) )/f/(-c*f+d*e+f)+3/2*b^3*d*arctanh(d*x+c)^2*ln(2/(-d*x-c+1))/f/(-c*f+d*e+f )-3/2*a^2*b*d*ln(-d*x-c+1)/f/(-c*f+d*e+f)-3*a*b^2*d*arctanh(d*x+c)*ln(2/(d *x+c+1))/f/(-c*f+d*e-f)+6*a*b^2*d*arctanh(d*x+c)*ln(2/(d*x+c+1))/(-c*f+d*e -f)/(-c*f+d*e+f)-3/2*b^3*d*arctanh(d*x+c)^2*ln(2/(d*x+c+1))/f/(-c*f+d*e-f) +3*b^3*d*arctanh(d*x+c)^2*ln(2/(d*x+c+1))/(-c*f+d*e-f)/(-c*f+d*e+f)+3/2*a^ 2*b*d*ln(d*x+c+1)/f/(-c*f+d*e-f)+3*a^2*b*d*ln(f*x+e)/(f^2-(-c*f+d*e)^2)-6* a*b^2*d*arctanh(d*x+c)*ln(2*d*(f*x+e)/(-c*f+d*e+f)/(d*x+c+1))/(-c*f+d*e-f) /(-c*f+d*e+f)-3*b^3*d*arctanh(d*x+c)^2*ln(2*d*(f*x+e)/(-c*f+d*e+f)/(d*x+c+ 1))/(-c*f+d*e-f)/(-c*f+d*e+f)+3/2*a*b^2*d*polylog(2,(-d*x-c-1)/(-d*x-c+1)) /f/(-c*f+d*e+f)+3/2*b^3*d*arctanh(d*x+c)*polylog(2,1-2/(-d*x-c+1))/f/(-c*f +d*e+f)+3/2*a*b^2*d*polylog(2,1-2/(d*x+c+1))/f/(-c*f+d*e-f)-3*a*b^2*d*poly log(2,1-2/(d*x+c+1))/(-c*f+d*e-f)/(-c*f+d*e+f)+3/2*b^3*d*arctanh(d*x+c)*po lylog(2,1-2/(d*x+c+1))/f/(-c*f+d*e-f)-3*b^3*d*arctanh(d*x+c)*polylog(2,1-2 /(d*x+c+1))/(-c*f+d*e-f)/(-c*f+d*e+f)+3*a*b^2*d*polylog(2,1-2*d*(f*x+e)/(- c*f+d*e+f)/(d*x+c+1))/(-c*f+d*e-f)/(-c*f+d*e+f)+3*b^3*d*arctanh(d*x+c)*pol ylog(2,1-2*d*(f*x+e)/(-c*f+d*e+f)/(d*x+c+1))/(-c*f+d*e-f)/(-c*f+d*e+f)-3/4 *b^3*d*polylog(3,1-2/(-d*x-c+1))/f/(-c*f+d*e+f)+3/4*b^3*d*polylog(3,1-2/(d *x+c+1))/f/(-c*f+d*e-f)-3/2*b^3*d*polylog(3,1-2/(d*x+c+1))/(-c*f+d*e-f)/(- c*f+d*e+f)+3/2*b^3*d*polylog(3,1-2*d*(f*x+e)/(-c*f+d*e+f)/(d*x+c+1))/(-...
Result contains complex when optimal does not.
Time = 87.00 (sec) , antiderivative size = 3976, normalized size of antiderivative = 3.65 \[ \int \frac {(a+b \text {arctanh}(c+d x))^3}{(e+f x)^2} \, dx=\text {Result too large to show} \]
-(a^3/(f*(e + f*x))) - (3*a^2*b*ArcTanh[c + d*x])/(f*(e + f*x)) + (3*a^2*b *d*Log[1 - c - d*x])/(2*f*(-(d*e) - f + c*f)) - (3*a^2*b*d*Log[1 + c + d*x ])/(2*f*(-(d*e) + f + c*f)) - (3*a^2*b*d*Log[e + f*x])/(d^2*e^2 - 2*c*d*e* f - f^2 + c^2*f^2) + (3*a*b^2*(1 - (c + d*x)^2)*((d*e - c*f)/Sqrt[1 - (c + d*x)^2] + (f*(c + d*x))/Sqrt[1 - (c + d*x)^2])^2*(-(ArcTanh[c + d*x]^2/(E ^ArcTanh[(d*e - c*f)/f]*f*Sqrt[1 - (d*e - c*f)^2/f^2])) + ((c + d*x)*ArcTa nh[c + d*x]^2)/(Sqrt[1 - (c + d*x)^2]*((d*e)/Sqrt[1 - (c + d*x)^2] - (c*f) /Sqrt[1 - (c + d*x)^2] + (f*(c + d*x))/Sqrt[1 - (c + d*x)^2])) + ((d*e - c *f)*(I*Pi*Log[1 + E^(2*ArcTanh[c + d*x])] - 2*ArcTanh[c + d*x]*Log[1 - E^( -2*(ArcTanh[(d*e - c*f)/f] + ArcTanh[c + d*x]))] - I*Pi*(ArcTanh[c + d*x] + Log[1/Sqrt[1 - (c + d*x)^2]]) - 2*ArcTanh[(d*e - c*f)/f]*(ArcTanh[c + d* x] + Log[1 - E^(-2*(ArcTanh[(d*e - c*f)/f] + ArcTanh[c + d*x]))] - Log[I*S inh[ArcTanh[(d*e - c*f)/f] + ArcTanh[c + d*x]]]) + PolyLog[2, E^(-2*(ArcTa nh[(d*e - c*f)/f] + ArcTanh[c + d*x]))]))/(d^2*e^2 - 2*c*d*e*f + (-1 + c^2 )*f^2)))/(d*(d*e - c*f)*(e + f*x)^2) + (b^3*(1 - (c + d*x)^2)*((d*e - c*f) /Sqrt[1 - (c + d*x)^2] + (f*(c + d*x))/Sqrt[1 - (c + d*x)^2])^2*((d*(c + d *x)*ArcTanh[c + d*x]^3)/((d*e - c*f)*Sqrt[1 - (c + d*x)^2]*((d*e)/Sqrt[1 - (c + d*x)^2] - (c*f)/Sqrt[1 - (c + d*x)^2] + (f*(c + d*x))/Sqrt[1 - (c + d*x)^2])) - (d*(-6*d*e*ArcTanh[c + d*x]^3 + 2*f*ArcTanh[c + d*x]^3 + 6*c*f *ArcTanh[c + d*x]^3 - 4*E^ArcTanh[c - (d*e)/f]*Sqrt[1 - c^2 - (d^2*e^2)...
Time = 2.77 (sec) , antiderivative size = 1085, normalized size of antiderivative = 1.00, number of steps used = 7, number of rules used = 6, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.300, Rules used = {6659, 7292, 6671, 27, 7276, 2009}
Below are the steps used by Rubi to obtain the solution. The rule number used for the transformation is given above next to the arrow. The rules definitions used are listed below.
\(\displaystyle \int \frac {(a+b \text {arctanh}(c+d x))^3}{(e+f x)^2} \, dx\) |
\(\Big \downarrow \) 6659 |
\(\displaystyle \frac {3 b d \int \frac {(a+b \text {arctanh}(c+d x))^2}{(e+f x) \left (1-(c+d x)^2\right )}dx}{f}-\frac {(a+b \text {arctanh}(c+d x))^3}{f (e+f x)}\) |
\(\Big \downarrow \) 7292 |
\(\displaystyle \frac {3 b d \int \frac {(a+b \text {arctanh}(c+d x))^2}{(e+f x) \left (-c^2-2 d x c-d^2 x^2+1\right )}dx}{f}-\frac {(a+b \text {arctanh}(c+d x))^3}{f (e+f x)}\) |
\(\Big \downarrow \) 6671 |
\(\displaystyle \frac {3 b \int \frac {d (a+b \text {arctanh}(c+d x))^2}{\left (d \left (e-\frac {c f}{d}\right )+f (c+d x)\right ) \left (1-(c+d x)^2\right )}d(c+d x)}{f}-\frac {(a+b \text {arctanh}(c+d x))^3}{f (e+f x)}\) |
\(\Big \downarrow \) 27 |
\(\displaystyle \frac {3 b d \int \frac {(a+b \text {arctanh}(c+d x))^2}{(d e-c f+f (c+d x)) \left (1-(c+d x)^2\right )}d(c+d x)}{f}-\frac {(a+b \text {arctanh}(c+d x))^3}{f (e+f x)}\) |
\(\Big \downarrow \) 7276 |
\(\displaystyle \frac {3 b d \int \left (-\frac {a^2}{(c+d x-1) (c+d x+1) (d e-c f+f (c+d x))}-\frac {2 b \text {arctanh}(c+d x) a}{(c+d x-1) (c+d x+1) (d e-c f+f (c+d x))}-\frac {b^2 \text {arctanh}(c+d x)^2}{(c+d x-1) (c+d x+1) (d e-c f+f (c+d x))}\right )d(c+d x)}{f}-\frac {(a+b \text {arctanh}(c+d x))^3}{f (e+f x)}\) |
\(\Big \downarrow \) 2009 |
\(\displaystyle \frac {3 b d \left (-\frac {\log (-c-d x+1) a^2}{2 (d e-c f+f)}+\frac {\log (c+d x+1) a^2}{2 (d e-(c+1) f)}-\frac {f \log (d e-c f+f (c+d x)) a^2}{(d e-c f+f) (d e-(c+1) f)}+\frac {b \text {arctanh}(c+d x) \log \left (\frac {2}{-c-d x+1}\right ) a}{d e-c f+f}-\frac {b \text {arctanh}(c+d x) \log \left (\frac {2}{c+d x+1}\right ) a}{d e-c f-f}+\frac {2 b f \text {arctanh}(c+d x) \log \left (\frac {2}{c+d x+1}\right ) a}{(d e-c f+f) (d e-(c+1) f)}-\frac {2 b f \text {arctanh}(c+d x) \log \left (\frac {2 (d e-c f+f (c+d x))}{(d e-c f+f) (c+d x+1)}\right ) a}{(d e-c f+f) (d e-(c+1) f)}+\frac {b \operatorname {PolyLog}\left (2,-\frac {c+d x+1}{-c-d x+1}\right ) a}{2 (d e-c f+f)}+\frac {b \operatorname {PolyLog}\left (2,1-\frac {2}{c+d x+1}\right ) a}{2 (d e-c f-f)}-\frac {b f \operatorname {PolyLog}\left (2,1-\frac {2}{c+d x+1}\right ) a}{(d e-c f+f) (d e-(c+1) f)}+\frac {b f \operatorname {PolyLog}\left (2,1-\frac {2 (d e-c f+f (c+d x))}{(d e-c f+f) (c+d x+1)}\right ) a}{(d e-c f+f) (d e-(c+1) f)}+\frac {b^2 \text {arctanh}(c+d x)^2 \log \left (\frac {2}{-c-d x+1}\right )}{2 (d e-c f+f)}-\frac {b^2 \text {arctanh}(c+d x)^2 \log \left (\frac {2}{c+d x+1}\right )}{2 (d e-c f-f)}+\frac {b^2 f \text {arctanh}(c+d x)^2 \log \left (\frac {2}{c+d x+1}\right )}{(d e-c f+f) (d e-(c+1) f)}-\frac {b^2 f \text {arctanh}(c+d x)^2 \log \left (\frac {2 (d e-c f+f (c+d x))}{(d e-c f+f) (c+d x+1)}\right )}{(d e-c f+f) (d e-(c+1) f)}+\frac {b^2 \text {arctanh}(c+d x) \operatorname {PolyLog}\left (2,1-\frac {2}{-c-d x+1}\right )}{2 (d e-c f+f)}+\frac {b^2 \text {arctanh}(c+d x) \operatorname {PolyLog}\left (2,1-\frac {2}{c+d x+1}\right )}{2 (d e-c f-f)}-\frac {b^2 f \text {arctanh}(c+d x) \operatorname {PolyLog}\left (2,1-\frac {2}{c+d x+1}\right )}{(d e-c f+f) (d e-(c+1) f)}+\frac {b^2 f \text {arctanh}(c+d x) \operatorname {PolyLog}\left (2,1-\frac {2 (d e-c f+f (c+d x))}{(d e-c f+f) (c+d x+1)}\right )}{(d e-c f+f) (d e-(c+1) f)}-\frac {b^2 \operatorname {PolyLog}\left (3,1-\frac {2}{-c-d x+1}\right )}{4 (d e-c f+f)}+\frac {b^2 \operatorname {PolyLog}\left (3,1-\frac {2}{c+d x+1}\right )}{4 (d e-c f-f)}-\frac {b^2 f \operatorname {PolyLog}\left (3,1-\frac {2}{c+d x+1}\right )}{2 (d e-c f+f) (d e-(c+1) f)}+\frac {b^2 f \operatorname {PolyLog}\left (3,1-\frac {2 (d e-c f+f (c+d x))}{(d e-c f+f) (c+d x+1)}\right )}{2 (d e-c f+f) (d e-(c+1) f)}\right )}{f}-\frac {(a+b \text {arctanh}(c+d x))^3}{f (e+f x)}\) |
-((a + b*ArcTanh[c + d*x])^3/(f*(e + f*x))) + (3*b*d*((a*b*ArcTanh[c + d*x ]*Log[2/(1 - c - d*x)])/(d*e + f - c*f) + (b^2*ArcTanh[c + d*x]^2*Log[2/(1 - c - d*x)])/(2*(d*e + f - c*f)) - (a^2*Log[1 - c - d*x])/(2*(d*e + f - c *f)) - (a*b*ArcTanh[c + d*x]*Log[2/(1 + c + d*x)])/(d*e - f - c*f) + (2*a* b*f*ArcTanh[c + d*x]*Log[2/(1 + c + d*x)])/((d*e + f - c*f)*(d*e - (1 + c) *f)) - (b^2*ArcTanh[c + d*x]^2*Log[2/(1 + c + d*x)])/(2*(d*e - f - c*f)) + (b^2*f*ArcTanh[c + d*x]^2*Log[2/(1 + c + d*x)])/((d*e + f - c*f)*(d*e - ( 1 + c)*f)) + (a^2*Log[1 + c + d*x])/(2*(d*e - (1 + c)*f)) - (a^2*f*Log[d*e - c*f + f*(c + d*x)])/((d*e + f - c*f)*(d*e - (1 + c)*f)) - (2*a*b*f*ArcT anh[c + d*x]*Log[(2*(d*e - c*f + f*(c + d*x)))/((d*e + f - c*f)*(1 + c + d *x))])/((d*e + f - c*f)*(d*e - (1 + c)*f)) - (b^2*f*ArcTanh[c + d*x]^2*Log [(2*(d*e - c*f + f*(c + d*x)))/((d*e + f - c*f)*(1 + c + d*x))])/((d*e + f - c*f)*(d*e - (1 + c)*f)) + (a*b*PolyLog[2, -((1 + c + d*x)/(1 - c - d*x) )])/(2*(d*e + f - c*f)) + (b^2*ArcTanh[c + d*x]*PolyLog[2, 1 - 2/(1 - c - d*x)])/(2*(d*e + f - c*f)) + (a*b*PolyLog[2, 1 - 2/(1 + c + d*x)])/(2*(d*e - f - c*f)) - (a*b*f*PolyLog[2, 1 - 2/(1 + c + d*x)])/((d*e + f - c*f)*(d *e - (1 + c)*f)) + (b^2*ArcTanh[c + d*x]*PolyLog[2, 1 - 2/(1 + c + d*x)])/ (2*(d*e - f - c*f)) - (b^2*f*ArcTanh[c + d*x]*PolyLog[2, 1 - 2/(1 + c + d* x)])/((d*e + f - c*f)*(d*e - (1 + c)*f)) + (a*b*f*PolyLog[2, 1 - (2*(d*e - c*f + f*(c + d*x)))/((d*e + f - c*f)*(1 + c + d*x))])/((d*e + f - c*f)...
3.1.49.3.1 Defintions of rubi rules used
Int[(a_)*(Fx_), x_Symbol] :> Simp[a Int[Fx, x], x] /; FreeQ[a, x] && !Ma tchQ[Fx, (b_)*(Gx_) /; FreeQ[b, x]]
Int[((a_.) + ArcTanh[(c_) + (d_.)*(x_)]*(b_.))^(p_.)*((e_.) + (f_.)*(x_))^( m_), x_Symbol] :> Simp[(e + f*x)^(m + 1)*((a + b*ArcTanh[c + d*x])^p/(f*(m + 1))), x] - Simp[b*d*(p/(f*(m + 1))) Int[(e + f*x)^(m + 1)*((a + b*ArcTa nh[c + d*x])^(p - 1)/(1 - (c + d*x)^2)), x], x] /; FreeQ[{a, b, c, d, e, f} , x] && IGtQ[p, 0] && ILtQ[m, -1]
Int[((a_.) + ArcTanh[(c_) + (d_.)*(x_)]*(b_.))^(p_.)*((e_.) + (f_.)*(x_))^( m_.)*((A_.) + (B_.)*(x_) + (C_.)*(x_)^2)^(q_.), x_Symbol] :> Simp[1/d Sub st[Int[((d*e - c*f)/d + f*(x/d))^m*(-C/d^2 + (C/d^2)*x^2)^q*(a + b*ArcTanh[ x])^p, x], x, c + d*x], x] /; FreeQ[{a, b, c, d, e, f, A, B, C, m, p, q}, x ] && EqQ[B*(1 - c^2) + 2*A*c*d, 0] && EqQ[2*c*C - B*d, 0]
Int[(u_)/((a_) + (b_.)*(x_)^(n_)), x_Symbol] :> With[{v = RationalFunctionE xpand[u/(a + b*x^n), x]}, Int[v, x] /; SumQ[v]] /; FreeQ[{a, b}, x] && IGtQ [n, 0]
Result contains higher order function than in optimal. Order 9 vs. order 4.
Time = 1.63 (sec) , antiderivative size = 5109, normalized size of antiderivative = 4.69
method | result | size |
derivativedivides | \(\text {Expression too large to display}\) | \(5109\) |
default | \(\text {Expression too large to display}\) | \(5109\) |
parts | \(\text {Expression too large to display}\) | \(5242\) |
\[ \int \frac {(a+b \text {arctanh}(c+d x))^3}{(e+f x)^2} \, dx=\int { \frac {{\left (b \operatorname {artanh}\left (d x + c\right ) + a\right )}^{3}}{{\left (f x + e\right )}^{2}} \,d x } \]
integral((b^3*arctanh(d*x + c)^3 + 3*a*b^2*arctanh(d*x + c)^2 + 3*a^2*b*ar ctanh(d*x + c) + a^3)/(f^2*x^2 + 2*e*f*x + e^2), x)
\[ \int \frac {(a+b \text {arctanh}(c+d x))^3}{(e+f x)^2} \, dx=\int \frac {\left (a + b \operatorname {atanh}{\left (c + d x \right )}\right )^{3}}{\left (e + f x\right )^{2}}\, dx \]
\[ \int \frac {(a+b \text {arctanh}(c+d x))^3}{(e+f x)^2} \, dx=\int { \frac {{\left (b \operatorname {artanh}\left (d x + c\right ) + a\right )}^{3}}{{\left (f x + e\right )}^{2}} \,d x } \]
3/2*(d*(log(d*x + c + 1)/(d*e*f - (c + 1)*f^2) - log(d*x + c - 1)/(d*e*f - (c - 1)*f^2) - 2*log(f*x + e)/(d^2*e^2 - 2*c*d*e*f + (c^2 - 1)*f^2)) - 2* arctanh(d*x + c)/(f^2*x + e*f))*a^2*b - a^3/(f^2*x + e*f) - 1/8*(((d^2*e*f - c*d*f^2 - d*f^2)*b^3*x + (c*d*e*f - c^2*f^2 - d*e*f + f^2)*b^3)*log(-d* x - c + 1)^3 + 3*(2*(d^2*e^2 - 2*c*d*e*f + c^2*f^2 - f^2)*a*b^2 - ((d^2*e* f - c*d*f^2 + d*f^2)*b^3*x + (c*d*e*f - c^2*f^2 + d*e*f + f^2)*b^3)*log(d* x + c + 1))*log(-d*x - c + 1)^2)/(d^2*e^3*f - 2*c*d*e^2*f^2 + c^2*e*f^3 - e*f^3 + (d^2*e^2*f^2 - 2*c*d*e*f^3 + c^2*f^4 - f^4)*x) - integrate(-1/8*(( (d^2*e*f - c*d*f^2 - d*f^2)*b^3*x + (c*d*e*f - c^2*f^2 - d*e*f + f^2)*b^3) *log(d*x + c + 1)^3 + 6*((d^2*e*f - c*d*f^2 - d*f^2)*a*b^2*x + (c*d*e*f - c^2*f^2 - d*e*f + f^2)*a*b^2)*log(d*x + c + 1)^2 + 3*(4*(d^2*e*f - c*d*f^2 - d*f^2)*a*b^2*x + 4*(d^2*e^2 - c*d*e*f - d*e*f)*a*b^2 - ((d^2*e*f - c*d* f^2 - d*f^2)*b^3*x + (c*d*e*f - c^2*f^2 - d*e*f + f^2)*b^3)*log(d*x + c + 1)^2 - 2*(b^3*d^2*f^2*x^2 + 2*(c*d*e*f - c^2*f^2 - d*e*f + f^2)*a*b^2 + (c *d*e*f + d*e*f)*b^3 + (2*(d^2*e*f - c*d*f^2 - d*f^2)*a*b^2 + (d^2*e*f + c* d*f^2 + d*f^2)*b^3)*x)*log(d*x + c + 1))*log(-d*x - c + 1))/(c*d*e^3*f - c ^2*e^2*f^2 - d*e^3*f + e^2*f^2 + (d^2*e*f^3 - c*d*f^4 - d*f^4)*x^3 + (2*d^ 2*e^2*f^2 - c*d*e*f^3 - c^2*f^4 - 3*d*e*f^3 + f^4)*x^2 + (d^2*e^3*f + c*d* e^2*f^2 - 2*c^2*e*f^3 - 3*d*e^2*f^2 + 2*e*f^3)*x), x)
\[ \int \frac {(a+b \text {arctanh}(c+d x))^3}{(e+f x)^2} \, dx=\int { \frac {{\left (b \operatorname {artanh}\left (d x + c\right ) + a\right )}^{3}}{{\left (f x + e\right )}^{2}} \,d x } \]
Timed out. \[ \int \frac {(a+b \text {arctanh}(c+d x))^3}{(e+f x)^2} \, dx=\int \frac {{\left (a+b\,\mathrm {atanh}\left (c+d\,x\right )\right )}^3}{{\left (e+f\,x\right )}^2} \,d x \]